go/types.comparer.identical (method)
15 uses
go/types (current package)
api_predicates.go#L90: return c.identical(x, y, nil)
api_predicates.go#L98: return c.identical(x, y, nil)
predicates.go#L254: func (c *comparer) identical(x, y Type, p *ifacePair) bool {
predicates.go#L281: return (x.len < 0 || y.len < 0 || x.len == y.len) && c.identical(x.elem, y.elem, p)
predicates.go#L287: return c.identical(x.elem, y.elem, p)
predicates.go#L302: !c.identical(f.typ, g.typ, p) {
predicates.go#L313: return c.identical(x.base, y.base, p)
predicates.go#L324: if !c.identical(v.typ, w.typ, p) {
predicates.go#L372: if !c.identical(xtparam.bound, ybound, p) {
predicates.go#L382: c.identical(x.params, yparams, p) &&
predicates.go#L383: c.identical(x.results, yresults, p)
predicates.go#L450: if f.Id() != g.Id() || !c.identical(f.typ, g.typ, q) {
predicates.go#L461: return c.identical(x.key, y.key, p) && c.identical(x.elem, y.elem, p)
predicates.go#L468: return x.dir == y.dir && c.identical(x.elem, y.elem, p)